package tech.xs.sys.domain.bo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import tech.xs.common.domain.enums.SexEnum;
import tech.xs.common.framework.domain.constant.DatePattern;

import java.io.Serializable;
import java.time.LocalDate;

@Getter
@Setter
@ToString
public class UpdateCurrBo implements Serializable {

    private String nickName;

    private String phone;

    private String email;

    private String realName;

    /**
     * 身份证号
     */
    private String idNumber;

    private SexEnum sex;

    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate birthDate;

    /**
     * 自我介绍
     */
    private String introduction;

}
